/* 
 * File:   AutoCommitTx.h
 * Author: sig-a
 *
 * Created on March 11, 2012, 3:15 PM
 */

#ifndef AUTOCOMMITTX_H
#define	AUTOCOMMITTX_H



ErrorCode AutoCommitInsertRecord(Index *idx, Record *record);

ErrorCode AutoCommitDeleteRecord(Index *idx, Record *record, uint8_t flags);

ErrorCode AutoCommitUpdateRecord(Index *idx, Record *record, Block *new_payload,
        uint8_t flags);
ErrorCode AutoCommitEndTransaction(Transaction **tx);
#endif	/* AUTOCOMMITTX_H */

